package com.hibase.core.page.entity.modulexml;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import lombok.Data;

/**
 * 图片标签
 */
@Data
public class ModuleImgXmlVO {

    @XStreamAsAttribute
    @XStreamAlias("dataIndex")
    private String dataIndex;

    @XStreamAsAttribute
    @XStreamAlias("title")
    private String title;

    @XStreamAsAttribute
    @XStreamAlias("row")
    private Integer row;

    @XStreamAsAttribute
    @XStreamAlias("col")
    private Integer col;

    @XStreamAsAttribute
    @XStreamAlias("span")
    private Integer span;

    /**
     * 图标类型(VNode,slot)
     */
    @XStreamAsAttribute
    @XStreamAlias("icon")
    private String icon;

    /**
     * 头像的形状（circle,square） }
     */
    @XStreamAsAttribute
    @XStreamAlias("shape")
    private String shape;

    /**
     * 头像的大小(large,small,default)
     */
    @XStreamAsAttribute
    @XStreamAlias("size")
    private String size;


    /**
     * 图像无法显示时的替代文本
     */
    @XStreamAsAttribute
    @XStreamAlias("alt")
    private String alt;
    
    /**
     资源地址
     @XStreamAsAttribute
     @XStreamAlias("src")
     private String src;
     */

    /**
     响应式资源地址
     @XStreamAsAttribute
     @XStreamAlias("srcSet")
     private String srcSet;
     */

}
